<div id="edit-title">新建采购申请</div>
<div id="edit-content">
	<div id="edit-content-left">
		<form action="javascript:void(0)" method="POST">
			<div class="edit-name">申请编号</div>
			<div class="edit-text"><input type="text" disabled value="自动生成" /></div>
			<div class="edit-name">申请人</div>
			<div class="edit-text"><input type="text" disabled value="<?php echo $cur_user['realname'] ?>" /></div>
			<div class="edit-name">采购货品</div>
			<div class="edit-group">
				<!--ajax html-->
			</div>
			<div class="clear"></div>
			<div class="edit-submit"><input type="submit" value="新建" /></div>
		</form>
	</div>
	<div id="edit-content-right">
		<div class="edit-name">搜索采购货品<span>请键入快搜码</span><span id="search-error"></span></div>
		<div class="edit-text edit-text-search"><input type="text" /></div>
		<div id="search-result">
			<!--ajax html-->
		</div>
	</div>
	<div class="clear"></div>
</div>
<script type="text/javascript">
$('.edit-text-search input').bind('keyup', function(){purchase.goods($(this), 'main', $(this).val(), '.edit-group', true)});
</script>